package com.yzy.soft.system.dto;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author yinzhiyuan
 * @since 2018-01-03
 */
public class BusinessDto {

    private static final long serialVersionUID = 1L;
    private String id;
    private String number;
    private String name;
    private String remark;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private String create;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private String update;
    private String versionId;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreate() {
        return create;
    }

    public void setCreate(String create) {
        this.create = create;
    }

    public String getUpdate() {
        return update;
    }

    public void setUpdate(String update) {
        this.update = update;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }



    @Override
    public String toString() {
        return "Business{" +
                "id=" + id +
                ", number=" + number +
                ", name=" + name +
                ", remark=" + remark +
                ", create=" + create +
                ", update=" + update +
                ", versionId=" + versionId +
                "}";
    }
}
